package com.sena.crawler.rundata;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Admin
 */
public class UrlData implements Serializable {
    
    private static final long serialVersionUID = -6919360561359055467L;
    private String url;
    private String name;
    private String status;
    private String pUrl;
    private String type;
    private Date scanDate;


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getpUrl() {
        return pUrl;
    }

    public void setpUrl(String pUrl) {
        this.pUrl = pUrl;
    }



    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "UrlData{" +
                "url='" + url + '\'' +
                ", name='" + name + '\'' +
                ", status='" + status + '\'' +
                ", pUrl='" + pUrl + '\'' +
                '}';
    }


    public Date getScanDate() {
        return scanDate;
    }

    public UrlData(String url, String name, String status, String pUrl, String type, Date scanDate) {
        this.url = url;
        this.name = name;
        this.status = status;
        this.pUrl = pUrl;
        this.type = type;
        this.scanDate = scanDate;
    }

    public void setScanDate(Date scanDate) {
        this.scanDate = scanDate;
    }


}
